class CreateDidaticMaterials < ActiveRecord::Migration
  def self.up
    create_table :didatic_materials do |t|

      t.string :name
      t.string :description
      t.references :content, :null => false
      t.references :lesson, :null => false

      t.timestamps
    end

   end

  def self.down
    drop_table :didatic_materials
  end
end
